//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package org.ares.app.demo.entities.sand;

import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table(
        name = "trav_customized_bus"
)
@NamedQuery(
        name = "Stravelcustomizedbus.findAll",
        query = "SELECT s FROM Stravelcustomizedbus s"
)
public class Stravelcustomizedbus implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    private int id;
    private String busline_name;
    private String start_place;
    private String end_place;
    private String start_place_start_time;
    private String start_place_end_time;
    private String end_place_start_time;
    private String end_place_end_time;
    private String busstop_code_map_url;
    private int price;
    private float distance;
    private int bus_stop;
    @OneToMany(
            mappedBy = "stravelcustomizedbus"
    )
    private List<Stravelroute> stravelroute;

    public Stravelcustomizedbus() {
    }

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBusline_name() {
        return this.busline_name;
    }

    public void setBusline_name(String busline_name) {
        this.busline_name = busline_name;
    }

    public String getStart_place() {
        return this.start_place;
    }

    public void setStart_place(String start_place) {
        this.start_place = start_place;
    }

    public String getEnd_place() {
        return this.end_place;
    }

    public void setEnd_place(String end_place) {
        this.end_place = end_place;
    }

    public String getStart_place_start_time() {
        return this.start_place_start_time;
    }

    public void setStart_place_start_time(String start_place_start_time) {
        this.start_place_start_time = start_place_start_time;
    }

    public String getStart_place_end_time() {
        return this.start_place_end_time;
    }

    public void setStart_place_end_time(String start_place_end_time) {
        this.start_place_end_time = start_place_end_time;
    }

    public String getEnd_place_start_time() {
        return this.end_place_start_time;
    }

    public void setEnd_place_start_time(String end_place_start_time) {
        this.end_place_start_time = end_place_start_time;
    }

    public String getEnd_place_end_time() {
        return this.end_place_end_time;
    }

    public void setEnd_place_end_time(String end_place_end_time) {
        this.end_place_end_time = end_place_end_time;
    }

    public String getBusstop_code_map_url() {
        return this.busstop_code_map_url;
    }

    public void setBusstop_code_map_url(String busstop_code_map_url) {
        this.busstop_code_map_url = busstop_code_map_url;
    }

    public int getPrice() {
        return this.price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public float getDistance() {
        return this.distance;
    }

    public void setDistance(float distance) {
        this.distance = distance;
    }

    public int getBus_stop() {
        return this.bus_stop;
    }

    public void setBus_stop(int bus_stop) {
        this.bus_stop = bus_stop;
    }

    public List<Stravelroute> getStravelroute() {
        return this.stravelroute;
    }

    public void setStravelroute(List<Stravelroute> stravelroute) {
        this.stravelroute = stravelroute;
    }
}
